package com.yuan.ssm.mapper;

import java.util.List;
import java.util.Map;

import com.yuan.ssm.entity.Power;

public interface PowerMapper {
	int add(Power user);

	int update(Power user);

	int delete(Long id);

	List<Power> listAll();

	Power getByName(String codeNumber);
	
	int listPageCount(Map<String,Object> paramMap);

	List<Power> listPage(Map<String,Object> paramMap);

}
